package com.zego.zegowawaji_server.service.socket.listener;

import com.zego.zegowawaji_server.service.NetData;
import com.zego.zegowawaji_server.service.socket.CoreService;

/**
 * 消息监听事件的回调接口
 */
public interface IMListener {
    /**
     * 处理{@link CoreService}
     * 回调过来的消息
     *
     * @param data 消息体
     */
    void onMessage(NetData data);
}
